//
//  PhotoAlbum.m
//  atlas
//
//  Created by 你好 on 17/1/4.
//  Copyright © 2017年 xyxNav. All rights reserved.
//

#import "PhotoAlbum.h"

@implementation Recommend

+ (NSDictionary *)replacedKeyFromPropertyName{
    return @{
             @"name":@"company",
             @"imageUrl":@"banner",
             @"updateTime":@"updated_at",
             @"backImageUrl":@"backdrop",
             @"recommend_user_ID":@"userid"
             };
}

@end


@implementation About

+ (NSDictionary *)replacedKeyFromPropertyName{
    return @{
             @"ID":@"id",
             @"User_ID":@"userid",
             @"imageUrl":@"icon",
             @"createTime":@"created_at",
             @"updateTime":@"updated_at"
             };
}


@end


@implementation Photo

+ (NSDictionary *)replacedKeyFromPropertyName{
    return @{
             @"desc":@"description",
             @"imageUrl":@"image",
             @"tabletUrl":@"tablet",
             @"updateTime":@"updated_at"
             };
}

@end


@implementation PhotoAlbum

+ (NSDictionary *)replacedKeyFromPropertyName{
    return @{
//             @"albumID" : @"id",
             @"updateTime" : @"updated_at",
             @"imageUrl" : @"icon",
             @"photoArray" : @"contents",
             @"bgImageUrl":@"bgimg",
             @"album_User_ID":@"userid"
             };
}


+ (NSDictionary *)objectClassInArray{
    return @{
             @"photoArray":@"Photo"
             };
}

@end
